package com.msb.dubbo.service.imp;

import com.msb.dubbo.service.DubboDemoService;
import org.apache.dubbo.config.annotation.Service;

/**
 * @author sunpeng
 * @Date 2021-07-22 15:45
 */
@Service(weight = 2)
public class DubboDemoServiceImpl implements DubboDemoService {

    @Override
    public String demo(String param) {
        System.out.println("server: "+param);
        return "helllo: "+param;
    }
}
